NevronOpenVision
Nevron.Nov.Diagram.Batches Namespace / NBatchLayout<TItem> Class / SizeToGrid Method
origin point of the grid in scene coordinates
grid cell size in scene coordinates
In This Topic
    SizeToGrid Method
    In This Topic
    Sizes the nodes from this batch to fit specified virtual grid cells (defined by origin and cell size)
    Syntax

    Parameters

    gridOrigin
    origin point of the grid in scene coordinates
    gridCellSize
    grid cell size in scene coordinates

    Return Value

    batch result
    Remarks
    If a valid document is provided this method will record the changes in a single transaction.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also